package com.qfedu.edu.slot.impl;

import com.qfedu.edu.slot.generate.GenerateSlot;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import javax.servlet.http.HttpServletRequest;

/**
 * @author xiaobobo
 * @title: ReqTimeCheckSlot
 * @projectName cd-fy-2401-third-project-parent
 * @description: token防止丢失的检测
 * @date 2024/9/23  15:32
 */
@Component
@Slf4j
public class ReqTimeCheckSlot extends GenerateSlot {
    @Override
    public int getOrder() {
        return Integer.MIN_VALUE;
    }

    @Override
    public boolean dealReq(HttpServletRequest req) {
        log.info("token丢失的检测....");
        //TODO token丢失检测....
        return true;
    }
}
